package com.hyt.it.ogt.pj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.pj.model.entity.ProjectSetting;

/**
 * <p>
 * 评卷项目配置 Mapper 接口
 * </p>
 *
 * @author liy
 * @since 2022-02-28
 */
public interface ProjectSettingMapper extends BaseMapper<ProjectSetting> {


    /**
     * 获取setting根据pieceScoreid
     * @param pieceScoreId
     * @return
     */
    ProjectSetting getProjectSettingByPieceScoreId(String pieceScoreId);
    
    /**
     * 根据projectId获取项目设置
     * @param projectId
     * @return
     */
    ProjectSetting getProjectSettingByProjectId(String projectId);
}
